import request from '@/utils/request'

// 查询打印机认证记录列表
export function listPrinter_auth_records(query) {
  return request({
    url: '/printer_auth_records/printer_auth_records/list',
    method: 'get',
    params: query
  })
}

// 查询打印机认证记录详细
export function getPrinter_auth_records(id) {
  return request({
    url: '/printer_auth_records/printer_auth_records/' + id,
    method: 'get'
  })
}

// 新增打印机认证记录
export function addPrinter_auth_records(data) {
  return request({
    url: '/printer_auth_records/printer_auth_records',
    method: 'post',
    data: data
  })
}

// 修改打印机认证记录
export function updatePrinter_auth_records(data) {
  return request({
    url: '/printer_auth_records/printer_auth_records',
    method: 'put',
    data: data
  })
}

// 删除打印机认证记录
export function delPrinter_auth_records(id) {
  return request({
    url: '/printer_auth_records/printer_auth_records/' + id,
    method: 'delete'
  })
}
